class Solution(object):
    def findRelativeRanks(self, score):
        """
        :type score: List[int]
        :rtype: List[str]
        """
        sort_score = sorted(score, reverse=True)
        lst = ["Gold Medal", "Silver Medal", "Bronze Medal"] + [str(n) for n in range(4,10001)]
        for i in range(len(score)):
            score[score.index(sort_score[i])] = lst[i]

        return score


if __name__ == '__main__':
    print(Solution().findRelativeRanks([10,3,8,9,4]))

